package com.eastfair.home.api;

import com.eastfair.core.base.R;
import com.eastfair.home.dto.SupervisionItemManagementDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 主场报馆 feign.
 *
 * @author dqq
 * @date 2022 /11/2
 */
@FeignClient(value = "home/supervisionItemManagement")
public interface SupervisionItemManagementFeign {

    /**
     * 保存监督项管理
     * @param dto
     * @return R
     */
    @PostMapping(value = "/saveSupervisionItemManagement")
    R<Boolean> saveSupervisionItemManagement(@RequestBody SupervisionItemManagementDTO dto);
}